package org.zxl.springbootdemo.exception.service;

import org.springframework.stereotype.Service;
import org.zxl.springbootdemo.exception.bo.Student;

import javax.validation.Valid;

@Service
public class MyService {
    public void add(@Valid Student student){
        System.out.println("add");
    }
}
